﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HttpTest.aspx.cs" Inherits="WebTools.HttpTest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="bootstrap-3.3.2-dist/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h3>
            <table>
                <tr>
                    <td valign="top">
                        <span class="glyphicon glyphicon-th-large" aria-hidden="true"></span>
                    </td>
                    <td>
                        <table>
                            <tr>
                                <td>
                                    HTTP测试工具
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </h3>
        <table class="table">
            <tr>
                <td>
                    <h4 style="font-weight: bold">
                        网址</h4>
                    <input id="txtUrl" class="span11" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <h4 style="font-weight: bold">
                        PostData(多个用&&隔开)</h4>
                    <asp:TextBox ID="txtPostData" class="span11" runat="server" Height="50px" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <h4 style="font-weight: bold">
                        Headers(多个用&&隔开)</h4>
                    <asp:TextBox ID="txbHeaders" runat="server" class="span11" Height="50px" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
            <td >
                <div><asp:RadioButtonList ID="RadioButtonList1" runat="server" 
                        RepeatDirection="Horizontal">
                        <asp:ListItem>POST </asp:ListItem>
                        <asp:ListItem Value="GET">GET</asp:ListItem>
                    </asp:RadioButtonList></div>
                    <asp:Button ID="btnGo" runat="server" Text="运行" OnClick="Button1_Click" class="btn btn-success" /> 
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtLog" runat="server" class="span11" Height="350px" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
